from django.conf.urls import url

from users import views

urlpatterns = [
    url(r'^users$', views.RegisterView.as_view()),
    url(r'^session$', views.LoginView.as_view()),
    url(r'^user$',views.UserInfoView.as_view()),
    url(r'^user/name$',views.ModifyUserView.as_view()),
    url(r'^user/auth$',views.UserIdView.as_view()),
    url(r'^user/avatar$', views.UserImageView.as_view()),
]

